package com.nhim.cms.admin.client.rpc;

import java.util.ArrayList;
import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.nhim.cms.admin.shared.ContentTypeElementDefinitionRPCProxy;

public interface ContentTypeElementDefinitionRPCServiceAsync {
	void findByContentTypeId(Integer contentTypeId, AsyncCallback<ArrayList<ContentTypeElementDefinitionRPCProxy>> callback) throws IllegalArgumentException;
	void persitContentTypeElementDefinitioinsIdandPositionOnly(Integer contentTypeId,List<Integer> elementDefinitionIds,AsyncCallback<Boolean> callback) throws IllegalArgumentException;
	void persitContentTypeElementDefinitioinsIsRequiredAndDescriptionOnly(List<ContentTypeElementDefinitionRPCProxy> list,AsyncCallback<Boolean> callback) throws IllegalArgumentException;
}
